package org.cn.osiris.user.mapper;

import org.cn.osiris.basic.dto.LoginDto;
import org.cn.osiris.user.domain.Logininfo;
import org.cn.osiris.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author devil
 * @since 2022-09-14
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByAccount(LoginDto loginDto);

    Logininfo findByEmail(String email);

}
